<as-split #mySplit [direction]="direction" gutterSize='4'>
    <as-split-area *ngFor="let id of termlist">
        <app-single-term [type]='type' [tabIndex]='tabIndex' [host]='host' [showClose]="termlist.length>1" (onClose)="close(id)" (onStateChange)="onTermStateChange($event)"></app-single-term>
    </as-split-area>
</as-split>